<template>
  <vol-box :lazy="true" v-model="model" title="整车成本数据" :height="800" :width="1600" :draggable="true" :padding="5">
    <div>
      <el-tabs v-model="activeName" class="demo-tabs">
          <yjy_whole_cost_volbox ref="yjy_whole_cost_volbox"></yjy_whole_cost_volbox>
      </el-tabs>
    </div>
    <template #footer>
      <div>
        <el-button type="primary" size="mini" @click="model = false">关闭</el-button>
      <!--  <el-button type="primary" size="mini" @click=" onModelClose()">关闭</el-button> -->
      </div>
    </template>
  </vol-box>
</template>
<script>
import VolBox from "@/components/basic/VolBox.vue";
import VolHeader from "@/components/basic/VolHeader.vue";
import yjy_whole_cost_volbox from '@/views/finance/zccb/yjy_whole_cost.vue';
//这里使用的vue2语法，也可以写成vue3语法
export default {
  components: {
    "vol-box": VolBox,
    VolHeader,
    yjy_whole_cost_volbox
  },
  methods: {},
  data() {
    return {
      model: false,
      activeName: "second",

    };
  },
  methods: {
    openwin() {
      this.model = true;
      this.$nextTick(() => {
        this.$refs.yjy_whole_cost_volbox.$refs.grid.search();
      });
    },

  },
};
</script>



